﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HZY.EFCore.Entitys.Sys
{
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    [Table(nameof(Sys_Menu))]
    public class Sys_Menu
    {

        [Key]
        public Guid Menu_ID { get; set; } = Guid.NewGuid();

        public string Menu_Num { get; set; }

        public string Menu_Name { get; set; }

        public string Menu_Url { get; set; }

        public string Menu_Icon { get; set; }

        public Guid Menu_ParentID { get; set; } = Guid.Empty;

        /// <summary>
        /// 1 是 2 否
        /// </summary>
        public int Menu_IsShow { get; set; } = 1;

        [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
        public DateTime Menu_CreateTime { get; set; }

    }
}
